<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分享</title>
</head>
<body>
    
</body>
</html>
<script>
    function getParams() {
        var search = location.search
        search = search.replace('?', '')
        var arr = search.split('&')
        var obj = {}
        for (var item of arr) {
            var list = item.split('=')
            obj[list[0]] = list[1]
        }
    
        return obj
    }
    let param = this.getParams()
    let data = param.data
    localStorage.agencyShareData = data
    location.href = location.protocol + '//' + location.host + '/agency/index.html#/share'
</script>